package com.zjcode.cdcer.service.fallback;

import com.chinatechstar.component.commons.supports.PageData;
import com.zjcode.cdcer.model.basic.JsonObj;
import com.zjcode.cdcer.service.TkmSysOrgService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * @ClassName:TkmSysOrgServiceFallback
 * @功能：
 * @author：wlei
 * @日期：2022/8/5-04:10
 **/
@Service
public class TkmSysOrgServiceFallback implements TkmSysOrgService {

    @Override
    public JsonObj listAllData(PageData pageData) {
        return JsonObj.error("服务异常");
    }

    @Override
    public JsonObj getAllProvince() {
        return JsonObj.error("服务异常");
    }

    @Override
    public JsonObj getAllProvinceCity(String parentRegionCode, String user) {
        return JsonObj.error("服务异常");
    }

    @Override
    public JsonObj getDistrictAndStreet(String parentRegionCode) {
        return JsonObj.error("服务异常");
    }

    @Override
    public JsonObj exportOrgData(PageData pageData) {
        return JsonObj.error("服务异常");
    }
}
